package com.wlts.wzy.util.redis;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;


/**
 * @author Binary Wang(https://github.com/binarywang)
 */
public class JsonUtils {
    public static String toJson(Object obj) {
//        Gson gson = new GsonBuilder()
//            .setPrettyPrinting()
//            .create();
        return JSON.toJSONString(obj);
    }
}
